package sf.database.dialect.firebird;

import com.querydsl.sql.FirebirdTemplates;
import com.querydsl.sql.SQLTemplates;
import org.jooq.SQLDialect;
import sf.database.dialect.DBDialect;
import sf.database.dialect.DatabaseDriver;
import sf.database.meta.TableMapping;
import sf.database.support.RDBMS;

import java.sql.Connection;

public class FirebirdDialect extends DBDialect {

    @Override
    public DatabaseDriver getDatabaseDriver() {
        return DatabaseDriver.FIREBIRD;
    }

    @Override
    public RDBMS getName() {
        return RDBMS.firebird;
    }

    @Override
    public String getHibernateDialect() {
        return null;
    }

    @Override
    public String sqlTableDrop(String table) {
        return null;
    }

    @Override
    public String sqlTableRename(String oldName, String newName) {
        return null;
    }

    @Override
    public String sqlColumnAdd(String table, String column_definition, String column_position) {
        return null;
    }

    @Override
    public String sqlColumnModify(String table, String column_definition, String column_position) {
        return null;
    }

    @Override
    public String sqlColumnDrop(String table, String column) {
        return null;
    }

    @Override
    public boolean createEntity(Connection conn, TableMapping en) {
        return false;
    }

    @Override
    public String uniqueSql(String tableName, String name, String[] columnNames) {
        return null;
    }

    @Override
    public SQLTemplates getQueryDslDialect() {
        return FirebirdTemplates.DEFAULT;
    }

    @Override
    public SQLDialect getJooqDialect() {
        return SQLDialect.FIREBIRD;
    }
}
